write a non recursive shell script that accepts any number
of arguments and prints them in the reverse order
Answer Posted / amar
./reverse frg gh rtyh
no of arguments:3
arguments in reverse order:
rtyh gh frg
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
Is shell scripting a language?
What is difference between shell and bash scripting?
What is shell variable?
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
What are filters explain sort with all the options available?
Is shell a scripting language?
How does path variable work?
What are the advantages of shell script?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
How to check if the previous command was run successfully?
How can you find out how long the system has been running?
How to get the 3rd element/column from each line from a file?
Is it possible to substitute "ls" command in the place of "echo" command?
What is awk in shell script?
When should shell programming/scripting not be used?