Sponsored Content
Full Discussion: $#
Top Forums UNIX for Dummies Questions & Answers $# Post 335 by Astudent on Sunday 26th of November 2000 09:28:09 PM
Old 11-26-2000
In my script let's call it myfile, I want to have an option where the script changes the time format(military to standard). But to have the script change - you run the script but instead of at the command line you type: myfile,
you type myfile -r.
Now if I remember correctly I have to include:
echo $#
in my script but is that all.(# means just one argument if I remember)
Or am I missing something, also if I had a -t -w -j option would I just use:
echo $####(for 4 arguments).
Thanks.
 
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy